package com.feiyisys.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.feiyisys.entity.Activity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.feiyisys.vo.RegistrationStat;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 文化遗产相关活动表 Mapper 接口
 * </p>
 *
 * @author wq
 * @since 2025-10-10
 */
@Mapper
public interface ActivityMapper extends BaseMapper<Activity> {

    Long selectSum(String currentParticipants, Wrapper<Activity> activityWrapper);

    List<RegistrationStat> selectRegistrationStatsByRange(String range);

}
